package com.threefivework.mymall.exception;

import lombok.Data;

/**
 * descripiton:
 *
 * @author: kinson(2219945910@qq.com)
 * @date: 2018/6/27
 * @time: 7:51
 * @modifier:
 * @since:
 */
@Data
public class MymallException extends RuntimeException{

    private Integer code;

    private String errorMsg;

    public MymallException(Integer code, String erroeMsg) {
        this.code = code;
        this.errorMsg = erroeMsg;
    }
}
